home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
utility
/
views196.zip
/
VIEWS.CFG
< prev
next >
Wrap
Text File
|
1997-05-27
|
19KB
|
554 lines
;; CONFIGURATION-TEXTFILE FOR VIEWS V1.96
;; -----------------------------------------
;; (will be used to configurate VIEWS.EXE with VIEWSCFG.EXE)
;;
;; (Any values are decimal for default. Hexadecimal-values must have a
;; leading "$"-sign. eg: $1A )
;; (Everything after a semicolon ";" will be taken as a comment.)
;;
;; (Synonyms for 'ON' are 'YES','Y','TRUE' ,'ENABLE' )
;; (Synonyms for 'OFF' are 'NO' ,'N','FALSE','DISABLE')
;;
;; If an option will stay undefined in this file, it's default-value will
;; be assumed, when interpreted by VIEWSCFG.EXE.
;;____________________________________________________________________________
;;----------------------------------------------------------------------------
;;-[ExeFile]- Here you define all the executables which will be configurated
;;----------- with this cfgfile. (One additional name can be given as
;; commandline-parameter to VIEWSCFG.)
;; Needed if more than one copy of ViewS is used.
;; You can use as many entries as needed.
;;
;; Default: VIEWS.EXE (in current directory)
;[ExeFile] c:\fm\txtview.exe
;[ExeFile] c:\utils\views.exe
;;-[SavDatFile]- This is the file, where the last position of a file is
;;-------------- stored, when the viewer was closed with <F10>.
;;
;; Default: VIEWSAV.DAT (in the same directory as VIEWS.EXE)
;[SavDatFile] C:\UTILS\VIEWSAV.DAT
;;-[Speed]-This defines the scrollspeed. (max: Size of characters.)
;;---------The value is the increment for the position (in pixels) for each
;; frame (one frame≈ 1/70 second).
;; Negative values define actual speed-values between 0 and 1.
;; ( Speed=-1/speed ) So a -2 will scroll one pixel every 2nd frame, a
;; -10 will scroll one pixel every 10th frame.
;;
;; Default: 4
;[Speed] 4
;;-[AccelDiv]- This value is an acceleration-value for [Speed], where 0 or
;;------------ 1 means direct speed-set (not "no accelaration", but infinite
;; acceleration) and every higher value means a lower acceleration.
;; (Try out...:-)
;;
;; Default: 10
; [AccelDiv] 10
;;-[PageAccel]- This value is the "real" acceleration-value for moves with
;;------------- <PageDown> or <PageUp>. 0 means "hard"/direct pagemoves.
;;
;; Default: 16
; [PageAccel] 16
;;-[ReaderSpeed]- This is the speed for the Readersmode (key: <M>), where
;;--------------- the text will scroll down automatically with this speed.
;; This speed is the same type as "normal" [Speed].
;;
;; Default: -25
;[Speed] -25
;;-[AutoStop]- If this is disabled, a keypress on cursor-<down>/-<up> will
;;------------ make the text move down, until <Space> or the opponent cursor-
;; key is pressed.
;;
;; Default: On
;[AutoStop] Off
;;-[ScrollLock]- If this entry is enabled, horizontal-scrolling to the left
;;-------------- will be stopped at position 0. Else you can also scroll to
;; positions below 0.
;; (Useful, if a text begins at the very left beginning of a
;; line, but reading would be easier if it could be shifted
;; more to the middle of the screen... Ehh, try it and see.)
;;
;; While reading, this can be toggled by the <Scroll-Lock>-Key
;; too, while an ACTIVATED <Scroll-Lock>-StatusLED shows, that
;; [ScrollLock] is DISABLED --> it shows, that you can scroll
;; below zero.
;;
;; Default: On
;[ScrollLock] Off
;;-[ExitMode]- What shall happen if <Esc> or <F10> is pressed.
;; Immed : exit immediately
;; Double : exit if key is pressed twice
;; Ask : ask if really want to exit
;;
;; Default: Double
[ExitMode] Immed
;;-[Sound]- If enabled, some events will generate short PC-beeper-sounds.
;;---------
;;
;; Default: On
;[Sound] On
;;-[SavChkNoDir]- If enabled, ViewS will only check the actual name of the
;; file but not the directory-part when loading saved
;; positions.
;; (Useful if the directory of the file has changed since the position was,
;; saved, but can make problems if you view different files with the same
;; name from different directories.)
;;
;; Default: On
;[SavChkNoDir] Yes
;;____________________________________________________________________________
;;----------------------------------------------------------------------------
;;-[VideoMode]- This is the videomode used for ViewS. You can either use a
;;------------- BIOS-Modenumber (with '#' as prefix !), or one of the following
;; codes, which define the number of lines/columns:
;;
;; Lnn - nn= 10..61 (number of lines) (e.g. [VideoMode] L33 )
;; or
;; Cmm - mm= 80 or 90 (number of columns) (e.g. [VideoMode] C90 )
;; or
;; mmXnn - mm Columns by nn Lines (e.g. [VideoMode] 90x33 )
;;
;; !! All of these modes reprogram the VGA-Chip. !!
;; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;; !! This COULD damage your monitor or graphiccard, although I can't imagine
;; !! how this COULD happen on modern systems. But nevertheless I will NOT
;; !! bear ANY responsibilities for something. !!
;;
;;
;; If you have a VBE (Vesa-BIOS-Extension) installed, you can also make use
;; of the VESA-textmodes. The normal modes are:
;;
;; -VESA-Mode- ( -Res- ) -Scanlines-
;; #$108 ( 80x102) 480
;; #$109 (132x 31) 400
;; #$10A (132x 43) ???
;; #$10B (132x 50) ???
;; #$10C (132x 62) 480
;;
;; -ET4000W32i-:
;; #$2A (100x 40) 600
;;
;;
;; (If the BIOS-textmode is >= $100 it will be taken as a VESA-mode !)
;; If VideoMode is 0 (#0), the start-videomode will be taken.
;;
;; Default: #0
;[VideoMode] L25
;;-[ScanLines]- Some modes have not the normal number of scanlines, so that
;;------------- you have to give the correct number if the statusline is at
;; a wrong position or completely hidden. If you don't know
;; the right value, you can simply try out. This cannot damage
;; anything (I think so at least...;-).
;;
;; Usual numbers are: 400,480 and 600.
;;
;; For some of the VESA-textmodes I have already given the correct number in
;; the list above.
;;
;; Default: 0 (will try to detect current scanlines)
;[ScanLines] 480
;;-[ScrFreq]- Here you can switch to a (higher) screen-refresh-frequency.
;;----------- Valid numbers are 1 to 4. The actual frequency depends on your
;; VGA-card. (Normally frequency 2 with 70 Hz is the default).
;; Higher frequencies mean less "flickers".
;;
;; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;; !! WARNING: Some monitors can not handle all frequencies generated by !!
;; !! the VGA-card. Normally they simply switch to "stand-by", !!
;; !! but older monitors can be damaged! !!
;; !! !!
;; !! I will NOT bear any responsibilities for problems caused by ViewS !!
;; !! !!
;; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;[ScrFreq] 3
;;-[ShowOfs]- If enabled, the statusline will show the current offset in the
;;----------- file instead of the lines.
;;
;; Default: Off
;[ShowOfs] Off
;;-[ChrTab]- With these entries you can define your custom ASCII-conversion
;;---------- tables.
;; If you want to read a text with special ASCII-codes as
;; "ÄÖÜäöü{}ß" and so on, written under Winshit, ooops I mean
;; Windows :->, or with an Amiga, you will realize, that they use
;; other ASCII-codes than PC-DOS for these chars.
;; Now you can redefine any ASCII-Code to your own ones.
;;
;; Example: Windows uses ASCII 252 ('ⁿ') for 'ü',
;; ASCII 228 ('Σ') for 'ä'...
;; --> If you want to read a windows-text, use this table:
;;
;; [ChrTab] "Windoof" ⁿ(ü),Σ(ä), and so on.
;;
;; Here you can define as many conversion-tables, as you want. While reading
;; you select the current table with <T> and reset to normal ASCII with
;; <Shift>-<T>.
;;
;; The format for a conversion-table is:
;; [ChrTab] "<name>" <1st old> (<1st new><2nd new...>), ..., <old> (<new..>).
;; - - - -- - - --
;;
;; (e.g.: [ChrTab] "Unknown" {(äöüß) , !(¡), ?(¿).
;;
;; [ChrTab] "Windoof" ⁿ(ü),Σ(ä),÷(ö),ä(»),ô(«"),▀(ß),─(Ä),▄(Ü),╓(Ö),╖().
;;
;; [ChrTab] ";-)" a (αߢδεƒΓπî⌡K£mÑô₧φτ√┬ûv∞%µ≡), 1 (0987654321).
;; )
;;
;; Default: none
[ChrTab] "Windows" ⁿ(ü),Σ(ä),÷(ö),ä(»),ô(«"),▀(ß),─(Ä),▄(Ü),╓(Ö),╖().
[ChrTab] "Unknown" {(äöüß).
;;-[AttrTab]- Here you define some kind of color-attribute-tables. They allow
;;----------- the color-highlighting of certain textconstructions as the
;; typical *Fido*-colors (a string between two asterixes) or,
;; may be, the {TP-comments} and so on.
;; (Look at the examples below.)
;;
;; Format:
;; [AttrTab] "Name" {ColorTable}, ... ,{ColorTable}.
;;
;; {ColorTable}: ({IntroChars} {Attribute} {Options})
;; {IntroChars}: <BeginChar><EndChar> or only <BeginChar>
;; {Attribute}: any byte-value (can be used with $ as hexadecimal)
;; {Options}: the chars S,L,H or F (not case-sensitive)
;; - S means: single-color -> only the one following char gets
;; the new color
;; - L means: lock the current color up to the EndChar (every
;; new BeginChar inside this string will be ignored)
;; - H means: hide BeginChar and EndChar from the screen
;; - F means: filter -> ignore BeginChar, if the following
;; char is not alphanumeric (if not above ASCII 33)
;;
;; (e.g.: [AttrTab] "Fido" (** $1C hfl), ; Red on blue inside '*....*' /
;; ; Don't show the '*'/ Ignore if
;; ; following is not "normal" /
;; ; Ignore other codes inside of *...*
;;
;; (__ $1A hfl), ; Green on blue inside '_...._' /...
;; (> $17). ; Grey on blue behind '>'
;; )
;;
;; While reading, use <A> to select next attrib-table and <Shift>-<A> to
;; reset to no highlighting.
;;
;; Default: none
[AttrTab] "Fido" (** $1C hfl),(__ $1A hfl),(> $17). ; typical Fido-messages
[AttrTab] "TP" ({} $1C l),('' $1A l), ; typical TurboPascal
(1 $1A s),(2 $1A s),(3 $1A s),(4 $1A s),(5 $1A s),
(6 $1A s),(7 $1A s),(8 $1A s),(9 $1A s),(0 $1A s),
(+ $1E s),(- $1E s),(* $1E s),(/ $1E s),(: $1E s),(= $1E s),
(( $1E s),() $1E s),([ $1E s),(] $1E s),(. $1E s),(; $1E s).
[AttrTab] "ASM" (; $7F l),('' $1A l),(: $1E s), ; typical ASM-Source
(1 $1A s),(2 $1A s),(3 $1A s),(4 $1A s),(5 $1A s), ; hmm, could be better
(6 $1A s),(7 $1A s),(8 $1A s),(9 $1A s),(0 $1A s),
(+ $1E s),(- $1E s),(* $1E s),(/ $1E s).
;;-[DefChrTab]- Here you can give the name of the char-conversion table which
;;------------- shall be active at the start of ViewS. (not case-sensitive)
;;
;; Default: none
;[DefChrTab] Unknown
;;-[DefAttrTab]- Here you can give the name of the color-attribute table which
;;-------------- shall be active at the start of ViewS. (not case-sensitive)
;;
;; Default: none
;[DefChrTab] Fido
;;-[Wrap]- This enables the wrapmode where lines, which are longer than the
;;-------- screenwidth, will be wrapped to the next line.
;;
;; Normal/On: The normal wrapmode, where lines are broken, if needed, no
;; matter, if this will break a word in two pieces or not.
;; Word : The wordwrap-mode, where it is tried to keep a word in one
;; piece, when wrapping it's line.
;; No/Off : Wrapmode off, where lines won't be broken in any way (up
;; to the next CR/LF).
;;
;; Default: Word
;[Wrap] Off
;;-[PosBarLen]- Defines the length (in chars) of the position-bar, which is
;;------------- at the background-color of the statusbar.
;; If it is -1 , the length will be calculated by the number of
;; bytes, which are shown on the current screen, in relation to
;; the filesize.
;; A 0 will disable the position-bar.
;;
;; Default: -1
;[PosBarLen] 1
;;-[ShowBGr]- If enabled, every position on the screen where is no char of
;;----------- the file, will have this char: '░'.
;;
;; Default: Off
;[ShowBGr] no
;;____________________________________________________________________________
;;----------------------------------------------------------------------------
;;-[UseMouse]- If disabled, the mousesupport will be disabled.
;;------------
;;
;; Default: On
;[UseMouse] Yes
;;-[MsSensX]- These are the values for the mousesensitivity. Higher means
;;-[MsSensY]- more sensitive. (8 is standard)
;;-----------
;;
;; Default: 8
;[MsSensX] 8
;[MsSensY] 8
;;-[MsVertMode]- This defines the behaviour for vertical mousemoves.
;;--------------
;; No : No support for vertical movement.
;; Analog : Speed depends on distance of mousecursor from screen-mid.
;; Digital : If mousecursor is in the zone defined by [MsDistD], speed
;; will be set to [Speed] as if a cursorkey is pressed, else
;; it will be zero.
;;
;; Default: Analog
;[MsVertMode] Analog
;;-[MsHorizMode]- This defines the behaviour for horizontal mousemoves.
;;---------------
;; No : No support for horizontal movement.
;; AbsRev : Absolute movement. Horizontal position depends directly
;; but reversed on mousecursor-position.
;; Abs : Absolute movement, but not reversed.
;; RelRev : Relative movement (position-change depends on mousecursor-
;; movement), reversed.
;; Rel : Relative movement, not reversed.
;;
;; Default: RelRev
;[MsVertMode] RelRev
;;-[MsDistA]- This is the distance from the middel of the screen which must
;;----------- be exceeded to enable ANALOG movement.
;;
;; Default: 2
;[MsDistA] 2
;;-[MsDistD]- This is the distance from the top/bottom of the screen from
;;----------- where on DIGITAL movement will be enabled.
;;
;; Default: 5
;[MsDistD] 5
;;-[MsVertBttn]-- This defines the button(s) which mussed be pressed to enable
;;-[MsHorizBttn]- vertical/horizontal movement. 0 means that no button-press
;;--------------- is needed.
;; 0: no button;
;; 1: left button; 2: right button; 4: middel button;
;; Add the values for more than one button;
;; (e.g.: 3: left+right button pressed; 7: all buttons pressed)
;;
;; Default: 0 (Vertical)
;; 1 (Horizontal)
;[MsVertBttn] 0
;[MsHorizBttn] 1
;;-[MsEndBttn]- This is (are) the button(s) which mussed be pressed to exit
;;------------- ViewS.
;;
;; Default: 3
;[MsEndBttn] 3
;;-[MouseCursor]- Show mousecursor or not.
;;---------------
;;
;; Default: On
;[MouseCursor] No
;;____________________________________________________________________________
;;----------------------------------------------------------------------------
;;-[WinSpeedDiv]- This value gives the speed for shifting the window/message-
;;--------------- line into the screen. Higher means slower.
;;
;; Default: 6
;[WinSpeedDiv] 6
;;-[MsgDelay]- This is the time in frames (≈1/70 seconds) while a normal
;;------------ message will remain on the screen. (Some messages will remain
;; half or twice this time, depending on importance and so on...)
;;
;; Default: 70
;[MsgDelay] 70
;;-[PosRestoreMsg]- If enabled, everytime a position is restored (<Alt>-
;; Cursorkeys), a message will be shown.
;;-----------------
;;
;; Default: Off
;[PosRestoreMsg] Off
;; The following fields define the colorattributes.
;; These are all bytevalues, where the highnibble is the background- and the
;; lownibble the foreground-color.
;;
;; $0..$7: dark colors; $8..$F: bright colors
;;dark: $0:black,$1:blue,$2:green,$3:cyan,$4:red,$5:magenta,$6:brown,$7:grey
;;bright: $8 $9 $A $B $C $D $E $F
;;
;; (e.g.: $13 = blue on cyan $78 = darkgrey on grey)
;[TxtAttr] $1B ; Normal text. │Default: $1B
;[BGrAttr] $18 ; Background │Default: $18
;[WrapAttr] $18 ; Wrap-Background │Default: $18
;[StatAttr] $2F ; Status-bar │Default: $2F
;[PosBarAttr] $60 ; Filepos.-Bar │Default: $60
;[WinAttr] $78 ; Window-frames │Default: $78
;[HelpAttr] $70 ; Help-Text │Default: $70
;[InpAttr] $7E ; Inputlines │Default: $7E
;[InpSelAttr] $1F ; Selected text in Inputlines │Default: $1F
;[RunAttr] $3C ; Progressdisplay when busy │Default: $3C
;[MouseAttr] $58 ; Mousecursor-XOR Default: $58
;[MsgAttr] $35 ; Messages │Default: $35
;;-[CallOldKbHandler]- If enabled, the program will call the old keyboard-
;;-------------------- handler (but will still use it's own handler). If
;; disabled you can't use TSRs which use the keyboard-
;; interrupt.
;; On (very?) slow systems it can flicker or jerk a bit
;; if enabled!
;;
;; Default: Off
;[CallOldKbHandler] no
;;-[NoCLI]- Enable this, if you get problems with multitaskers or other back-
;;--------- ground-processes. (Maybe, this will fix it.)
;;
;; Default: Off
;[NoCLI] On
;;-[DelayCLI]- Lower or raise this value, if you experience slowed or
;;------------ stopped background-processes (eg. MOD-Player music slows down)
;; Try to change it by around 1000.
;;
;; Default: 12500
;[DelayCLI] 12500
;;-[ReadBufSize]- This defines the size of the readbuffer in bytes (used for
;;--------------- caching the file (--> bigger buffers can also have dis-
;; advantages (Try to change it if VIEWS slows down at start
;; or flickers often)).
;;
;; Default: 512 (max: 65534)
[ReadBufSize] 16384
;;-[Pal0]..[PalF]- Here you can define a custom palette by defining rgb-values
;;---------------- (red,green,blue) for the colors behind [Pal?] while ? is
;; the hexadecimal number of the color. The rgb-values have a
;; range between 0 and 63. (e.g.: [Pal4] 63,0,0 ;red )
;; (Colors $0,$1,$8,$F (foreground) and $7 (background) are constantly used
;; for the help screen. (I think I will make it more flexible in the future))
;; (Colors $8,$B,$C are constantly used for the statusbar-foreground.)
;; (--> avoid using $0,$1,$8,$B,$F for customized colors)
;;
;; Default: active palette when started VIEWSCFG
[Pal1] 00,10,35 ; currently text-background
[PalB] 00,63,63 ; currently text-foreground
[Pal6] 00,20,30 ; currently position-bar